package cn.qp.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author qipan
 * @date 2020/01/11 10:51
 */
@RestController
public class ExceptionTestController {

    @RequestMapping("/e")
    public String testException() {
        int i = 5 / 0;
        return "ok!";
    }
}
